﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace 静态动态内存回收
{
 public   class 静态单例
    {
        private static readonly 静态单例 instance = new 静态单例();

        public static 静态单例 Instance
        {
            get { return 静态单例.instance; }
        }

        private List<string> list = new List<string>();

        public List<string> List
        {
            get { return list; }
        }

    }
}
